<%@tag body-content="empty" %>
<%@taglib prefix="f" uri="http://issue.hu/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@attribute name="field" type="java.lang.String" required="true"%>
<%@attribute name="label" type="java.lang.String" required="true"%>
<%@attribute name="items" type="java.util.Collection" required="true"%>
<%@attribute name="contentProperty" type="java.lang.String" required="true"%>
<%@attribute name="valueProperty" type="java.lang.String" required="true"%>

<div class="form-row">
	<f:error field="${field}"/>
	<label>${label}</label>
	<f:select items="${items}" field="${field}" contentProperty="${contentProperty}" valueProperty="${valueProperty}"/>
</div>
